The online racing simulator
Searching in All forums
(860 results)
BABA.MR.B
Demo licensed
Quote from Bass-Driver :On which server are you playing...

I'm playing on my own localhost server in the 6R version. Maybe that's why it didn't appear
BABA.MR.B
Demo licensed
and I realized that.
It shows people who are not admins.
I just want to see the admin list
BABA.MR.B
Demo licensed
Quote from Yisc[NL :;2096921"]I think this does what you want...

Merhaba Yisc[NL]

I added the administrator list file you provided to my server, but the script you provided still does not show more than one administrator.
My wish is to be able to see all admins on the screen, no matter how many admins there are on the server. I don't want it to be in the form of the prefixed code given by Bas Driver, I want to be able to see it on my screen all the time.
Here is the Turkish version of the code you gave and the way I removed the last login time.

https://hizliresim.com/rvazrkn
I didn't understand anything from your forum post. Is there anyone who can expla
BABA.MR.B
Demo licensed
Quote from RealistAdam :https://www.lfs.net/forum/thread/104437

I didn't understand anything from your forum post. Is there anyone who can explain it in more detail?
Showing more than one admin text
BABA.MR.B
Demo licensed
Hello lfs.net family. I would like to show more than one admin in the script file belonging to Yisc[NL] below, just like in the photo. Thank you in advance for your help.


Photo link = https://hizliresim.com/5fjpu63

Yisc's Code;


# Admin notify V1.00 01-11-15 - Initial release #
#################################################################

CatchEvent OnLapperStart()
OnLapperStart_Admin_Notify();
EndCatchEvent

CatchEvent OnConnect( $userName )
OnConnect_Admin_Notify();
EndCatchEvent

CatchEvent OnDisConnect( $userName, $reason )
OnDisConnect_Admin_Notify();
EndCatchEvent

Sub OnLapperStart_Admin_Notify()
### Declare global variables ###
GlobalVar $admins_present;
GlobalVar $admin_status;
GlobalVar $admin_name;
GlobalVar $admin_time_online;
### End ###

### Give global variables a value to start with ###
$admins_present=0;
### End ###
EndSub

Sub OnConnect_Admin_Notify()
### Set userName variable and load the nicknames of admins specified in admin.txt ###
$userName = GetCurrentPlayerVar( "UserName" );
UserGroupFromFile( "admin", "./admin.txt" );
### End ###

### Check if connecting player is an admin, if so, raise number by one ###
IF( UserInGroup( "admin", $userName ) == 1 )
THEN
$admins_present=$admins_present+1;
$admin_name = GetCurrentPlayerVar( "NickName" );
$admin_time_online = getLapperVar( "ShortTime" );
ENDIF
### End ###

Admin_status( $KeyFlags );
EndSub

Sub OnDisConnect_Admin_Notify()
### Check if discconnecting player is an admin, if so, lower number by one ###
IF( UserInGroup( "admin", $userName ) == 1 )
THEN
$admins_present=$admins_present-1;
ENDIF
### End ###

Admin_status( $KeyFlags );
EndSub

Sub Admin_status ( $KeyFlags )
### Check how many admins are online , if value above 0 ,status is 'online' , otherwise status is 'offline' and last name and time are removed ###
IF ( $admins_present > 0 )
THEN
$admin_status="^2online";
ELSE
$admin_status="^1offline";
$admin_name="^3(-N.A.-)";
$admin_time_online="^3(-N.A.-)";
ENDIF
### End ###

### Display button ###
openGlobalButton( "admins_present",50,1,100,5,1,-1,36,"^7Admin(s): ". $admin_status . " ^7| Last entered: " . $admin_name . " ^7| At: " . $admin_time_online );
### End ###
EndSub

ian.b
S3 licensed
TeamName: Team America
Number: 55
TeamManager: {ian.b, Ian Bassi}
Team leader discord user: Ian Bassi#2020

Drivers:
- {ian.b, Ian Bassi, Argentina}
- {GTAMAX89, Andres Gentile, Argentina}
- {vinsu, Pedro Martínez Bianchi, Chile}
Last edited by ian.b, .
ian.b
S3 licensed
Le falta trabajo en la suspensión, ruedas y sonido de motor
ian.b
S3 licensed
Esta tremendo segui asi que la rompe
ian.b
S3 licensed
EPIC
dj.b.ill
S3 licensed
stewy bloody bryant
Daniel G.B
S3 licensed
hi all,new driver fron spain
Ascona b
S3 licensed
for next race remote please! no spec is bad.
eXtrem Racing 02
Ascona b
S3 licensed
eXtrem Racing
nr. 02
FXR
Skin For Lada 2105
Ascona b
S3 licensed
English:
A small compilation of the 31st race day of the Fragmaster's GTI Series 2018

German:
Kleiner Einblick in den 31. Renntag der Fragmaster's GTI Series 2018

Ascona b
S3 licensed
English:
A small compilation of the 30st race day of the Fragmaster's FOX Series 2018

German:
Kleiner Einblick in den 30. Renntag der Fragmaster's FOX Series 2018

Ascona b
S3 licensed
English:
A small compilation of the 30st race day of the Fragmaster's GTI Series 2018

German:
Kleiner Einblick in den 30. Renntag der Fragmaster's GTI Series 2018

Ascona b
S3 licensed
English:
A small compilation of the 29st race day of the Fragmaster's FOX Series 2018

German:
Kleiner Einblick in den 29. Renntag der Fragmaster's FOX Series 2018

Ascona b
S3 licensed
English:
A small compilation of the 29st race day of the Fragmaster's GTI Series 2018

German:
Kleiner Einblick in den 29. Renntag der Fragmaster's GTI Series 2018

Ascona b
S3 licensed
English:
A small compilation of the 28st race day of the Fragmaster's FOX Series 2018

German:
Kleiner Einblick in den 28. Renntag der Fragmaster's FOX Series 2018

Ascona b
S3 licensed
English:
A small compilation of the 28st race day of the Fragmaster's GTI Series 2018

German:
Kleiner Einblick in den 28. Renntag der Fragmaster's GTI Series 2018

Ascona b
S3 licensed
English:
A small compilation of the 27st race day of the Fragmaster's FOX Series 2018

German:
Kleiner Einblick in den 27. Renntag der Fragmaster's FOX Series 2018

Ascona b
S3 licensed
English:
A small compilation of the 27st race day of the Fragmaster's GTI Series 2018

German:
Kleiner Einblick in den 27. Renntag der Fragmaster's GTI Series 2018

Ascona b
S3 licensed
English:
A small compilation of the 26st race day of the Fragmaster's FOX Series 2018

German:
Kleiner Einblick in den 26. Renntag der Fragmaster's FOX Series 2018

Ascona b
S3 licensed
English:
A small compilation of the 26st race day of the Fragmaster's GTI Series 2018

German:
Kleiner Einblick in den 26. Renntag der Fragmaster's GTI Series 2018

FGED GREDG RDFGDR GSFDG